#coding=utf-8
import os.path
from config import cfg
from views import *
settings = {
    "handlers": [
        (r'^/login[/]?$', LoginHandler),
        (r'^/center/$', CenterHandler),
        (r'^/api[/]?$', ApiHandler),
        (r'^/oss[/]?$', ossHandler),
        (r'^/oss/read[/]?$', ossReadHandler),
        (r'^/oss/download[/]?$', ossDownloadHandler),
        (r'^/oss/test[/]?$', testHandler),
        (r'^/oss/tag[/]?$', ossTagHandler),

    ],
    "template_path": os.path.join(os.getcwd(), "templates")
}